home *** CD-ROM | disk | FTP | other *** search
/ VRML 2.0 Sourcebook (2nd Edition) / VRML 2.0 Sourcebook CD [md5 fed90f4f9c39d5a60d477058775c7e21].iso / book / unix / ch05 / 05fig10.wrl < prev    next >
Text File  |  1996-09-22  |  789b  |  50 lines

  1. #VRML V2.0 utf8
  2. # The VRML 2.0 Sourcebook
  3. # Copyright 1997 By
  4. # Andrea L. Ames, David R. Nadeau, and John L. Moreland
  5. Group {
  6.     children [
  7.     # Ground
  8.         Shape {
  9.             appearance DEF White Appearance {
  10.                 material Material { }
  11.             }
  12.             geometry Box {
  13.                 size 25.0 0.1 25.0
  14.             }
  15.         },
  16.     # Left Column
  17.         Transform {
  18.             translation -2.0 3.0 0.0
  19.             children Shape {
  20.                 appearance USE White
  21.                 geometry Cylinder {
  22.                     radius 0.3
  23.                     height 6.0
  24.                 }
  25.             }
  26.         },
  27.     # Right Column
  28.         Transform {
  29.             translation 2.0 3.0 0.0
  30.             children Shape {
  31.                 appearance USE White
  32.                 geometry Cylinder {
  33.                     radius 0.3
  34.                     height 6.0
  35.                 }
  36.             }
  37.         },
  38.     # Archway span
  39.         Transform {
  40.             translation 0.0 6.05 0.0
  41.             children Shape {
  42.                 appearance USE White
  43.                 geometry Box {
  44.                     size 4.6 0.4 0.6
  45.                 }
  46.             }
  47.         }
  48.     ]
  49. }
  50.